﻿@using System.Data
@{
    Layout = null;
}
@{
    DataTable dt = ViewBag.Data;
    DataRow dataRow = dt.Rows[0];
}
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>签到01</title>
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
    <meta name="format-detection" content="telephone=no" />
    <meta name="format-detection" content="email=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <script src="~/js/jweixin-1.0.0.js"></script>
            @*关于微信端的配置*@
    <script>
        var AppId = "@ViewBag.appid";
        var AppSercret = "@ViewBag.appsecret";
        var timestamp = "@ViewBag.timestamp";
        var nonceStr = "@ViewBag.nonceStr";
        var signature = "@ViewBag.signature";
    </script>
    <script src="@Url.Content("~/js/DailyTaskCommon.js")?a=@(new Random().Next())"></script>
    <link href="@Url.Content("~/css/DailyTask/basic.css")?a=@(new Random().Next())" rel="stylesheet" />

    <script>
        (function (doc, win) { var docEl = doc.documentElement, resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize', recalc = function () { var clientWidth = docEl.clientWidth < 768 ? docEl.clientWidth : 768; if (!clientWidth) return; docEl.style.fontSize = 16 * (clientWidth / 320) + 'px'; }; recalc(); if (!doc.addEventListener) return; win.addEventListener(resizeEvt, recalc, false); })(document, window);
    </script>
</head>
<body>
    <div class="box">
        <header class="header">
            <h2>
                <img src="@dataRow["headimgurl"]"></h2>
            <p class="header_font01">@(dataRow["nickname"])</p>
            <p class="header_font02"></p>
        </header>
        <div class="bgGray">
            <ul class="fenlei ul_bottom">
                <li>
                    <h3>
                        <img src="~/images/DailyTask/fl_img01.jpg"></h3>
                    <p>阅读<b>@(dataRow["ydcs"])</b></p>
                </li>
                <li>
                    <h3>
                        <img src="~/images/DailyTask/fl_img02.jpg"></h3>
                    <p>分享<b>@(dataRow["fscs"])</b></p>
                </li>
                <li>
                    <h3>
                        <img src="~/images/DailyTask/fl_img03.jpg"></h3>
                    <p>金币<b>@(dataRow["SumGold"])</b></p>
                </li>
                <li>
                    <h3>
                        <img src="~/images/DailyTask/fl_img04.jpg"></h3>
                    <p>奖金<b>@((Convert.ToDouble(dataRow["Balance"])).ToString("0.00"))</b></p>
                </li>
            </ul>
            <!--我的签到-->
            <ul class="ul_box ul_bottom">
                <li>
                    <a href="@Url.Action("SignPage", "DailyTask")?openid=@ViewBag.openid&weixinId=@ViewBag.weixinId">
                        <p>
                            <span class="red">
                                <img src="~/images/DailyTask/qd_img.jpg"><i class="red">我的签到</i></span>
                            <span></span>
                            <span>
                                <img src="~/images/DailyTask/triangle.jpg"></span>
                        <p>
                    </a>
                </li>
            </ul>
            <!--我的签到 end-->
            <!--我的金币-->
            <ul class="ul_box ul_bottom">
                <li>
                    <a href="@Url.Action("DailyTaskRecordPage", "DailyTask")?openid=@ViewBag.openid&weixinId=@ViewBag.weixinId">
                        <p>
                            <span>
                                <img src="~/images/DailyTask/jb_img.jpg"><i>我的金币</i></span>
                            <span></span>
                            <span>
                                <img src="~/images/DailyTask/triangle.jpg"></span>
                        <p>
                    </a>
                </li>
                <li>
                    <a href="@Url.Action("GoldUserTradingRecordPage", "DailyTask")?openid=@ViewBag.openid&weixinId=@ViewBag.weixinId">
                        <p>
                            <span>
                                <img src="~/images/DailyTask/jj_img.jpg"><i>我的奖金</i></span>
                            <span></span>
                            <span>
                                <img src="~/images/DailyTask/triangle.jpg"></span>
                        <p>
                    </a>
                </li>
            </ul>
            <!--我的金币 end-->
            <!--金币兑换-->
            <ul class="ul_box">
                <li>
                    <a href="@Url.Action("GamePage", "DailyTask")?openid=@ViewBag.openid&weixinId=@ViewBag.weixinId">
                        <p>
                            <span>
                                <img src="~/images/DailyTask/dh_img.jpg"><i>金币兑换</i></span>
                            <span></span>
                            <span>
                                <img src="~/images/DailyTask/triangle.jpg"></span>
                        <p>
                    </a>
                </li>
                <li>
                    <a href="@Url.Action("GetGoldRole2", "DailyTask")?openid=@ViewBag.openid">
                        <p>
                            <span>
                                <img src="~/images/DailyTask/zjb_img.jpg"><i>如何赚金币</i></span>
                            <span></span>
                            <span>
                                <img src="~/images/DailyTask/triangle.jpg"></span>
                        <p>
                    </a>
                </li>
            </ul>
            <!--金币兑换 end-->
        </div>
    </div>
</body>
</html>
